"""
write(): write contents in file(only str)
read(): read contents in file
close(): shutdown the cache of file
writelines(): write contents in file(only str and container)
readline(): read only once a time
readlines(): read all lines and return a list
seek(): set up the position of pointer, seek(0) set up pointer at the first position, seek(0,2) set up
        pointer at the last position
truncate(): truncate the contents in file from the first position to the designated position
"""
list_01 = ["1323", "123", "789", "132"]
with open("../Enclosure/test_01.txt", "w+", encoding="utf-8") as fp:
    fp.writelines(list_01)
